//获取url参数
function getQueryString(name) {
    var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
    var r = window.location.search.substr(1).match(reg);
    if (r != null) return r[2]; return null;
}

//url配置
var system = {//http://activity-test.infinitus.com.cn/dev_nx_nx_47ab184e-22e3-b38254bc/http/tranGateWayGet.do?url=front%2Fydapi%2Fdealer%2Fskg%2F161907846%2Fdraw-dealer-quali%3FpromCode%3DP1811200,P1812200
    //接口
    urls : 'https://activity.infinitus.com.cn/nx_nx_47ab184e-22e3-b38254bc/',
    //https://activity.infinitus.com.cn/nx_nx_47ab184e-22e3-b38254bc/
    // wechatUrl:'https://wechat.infinitus.com.cn/front/wji/public/jsconfig',//正式
    //微信配置链接
    wechatUrl:'https://wechat.infinitus.com.cn/front/wji/public/jsconfig',
    //分享链接
    wechatShare:'https://wechat.infinitus.com.cn/front/wi/public/entryPoint?state=yc_wumai&type=1',
    //跳转链接
    memberLogin:'https://wechat.infinitus.com.cn/front/wi/public/entryPoint?state=https%3A%2F%2Fwechat.infinitus.com.cn%2Ffront%2Fwi%2Fpublic%2FentryPoint%3Fstate%3Dyc_wumai%26type%3D1&type=1',
    //二维码
    qrCode:'https://wechat.infinitus.com.cn/front/wi/public/entryPoint?state=yc_wumai&type=1',
    wechatAuthorizeCode:"011w595S0mKDd82htE6S0yYa5S0w595c",
    // wechatAuthorizeCode:window.location.href.split('?')[1].split('&')[0].split('=')[1]
}